from typing import Optional
from pydantic import BaseModel
from services.server_integration.schemas.alarms import Alarm, AlarmsGroupCount


class AlarmResponseConfiguration(BaseModel):
    total_alarms_count: int = 0,
    total_warnings_count: Optional[int] = 0
    alarms_group_count: list[AlarmsGroupCount] = None
    alarms: list[Alarm] = None
